package com.xinzhidi.web.equipment.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinzhidi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 存档恢复记录ListVo对象 equipment_archives_restore
 *
 * @author ruoyi
 * @date 2023-07-21
 */
@ApiModel(value = "存档恢复记录ListVo对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class EquipmentArchivesRestoreListVo {
    private static final long serialVersionUID = 1L;

    private Long id;


    @ApiModelProperty(value = "存档ID")
    @Excel(name = "存档ID")
    private Long archivesId;

    @ApiModelProperty(value = "存档类型0小区1楼栋2单元")
    @Excel(name = "存档类型")
    private Long type;

    @ApiModelProperty(value = "阀门开度")
    @Excel(name = "阀门开度")
    private BigDecimal valveOpen;

    @ApiModelProperty(value = "小区id")
    private Long plotId;
    @ApiModelProperty(value = "小区名称")
    private String plotName;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;
    @ApiModelProperty(value = "楼栋名称")
    private String buildName;

    @ApiModelProperty(value = "单元id")
    @Excel(name = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "单元")
    private String unitName;

    @ApiModelProperty(value = "详情")
    @Excel(name = "详情")
    private String info;

    @ApiModelProperty(value = "备注")
    @Excel(name = "备注")
    private String remark;

    @ApiModelProperty(value = "存档人")
    private String createBy;

    @ApiModelProperty(value = "存档人")
    @Excel(name = "存档人")
    private String createName;

    @ApiModelProperty(value = "恢复状态")
    @Excel(name = "恢复状态")
    private String status;

    @ApiModelProperty(value = "存档时间")
    @Excel(name = "存档时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date archivesTime;

    @ApiModelProperty(value = "恢复时间")
    @Excel(name = "恢复时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
